package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 告警类型与公司中间对象 t_alarm_type_company
 * 
 * @author wp
 * @date 2023-08-10
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
@Accessors(chain = true)
@ToString
@TableName(value = "t_alarm_type_company", excludeProperty = {"createBy", "updateBy", "updateTime", "remark"})
public class AlarmTypeCompany extends BaseEntity {
    /** ID */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /** 告警类型id */
    @Excel(name = "告警类型id")
    private Long alarmTypeId;

    /** 级别 0：低风险 1：中风险 2：高风险 */
    @Excel(name = "级别 0：低风险 1：中风险 2：高风险")
    private Integer level;

    /** 公司id */
    @Excel(name = "公司id")
    private Long companyId;

}
